package com.cw.japp

class UserPurchaseDetail {

	Long token
	String tokenType
	String transactionId
	String comment
	Date purchaseDate
	Integer status
	Date lastModifiedDate
	Date createdDate
	User user

	static belongsTo = [User]

	static mapping = {
		id column: "user_purchase_detail_id"
		version false
	}

	static constraints = {
		token nullable: true
		tokenType nullable: true
		transactionId nullable: true
		comment nullable: true
		purchaseDate nullable: true
		status nullable: true
		lastModifiedDate nullable: true
		createdDate nullable: true
	}
}
